﻿using System;

namespace Commons.Models.Locks
{
	[Serializable]
	public class DateUnlockCondition : UnlockCondition
	{
		public DateTime? From { get; private set; }
		public DateTime? To { get; private set; }

		public DateUnlockCondition(DateTime? from, DateTime? to)
			: base("date")
		{
			this.From = from;
			this.To = to;
		}	}
}
